package service;

import dao.goods2Mapper;
import dao.goodsMapper;
import entity.goods;
import entity.goods2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;

@Service
public class SelectAllGoodsService {
    @Autowired
    private goods2Mapper goods2Mapper;


    public List<goods2> findAllGoods() {
        return goods2Mapper.findAllGoods();
    }
}
